package dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

@Builder
@Schema(name = "RoleEditDTO", title = "编辑角色数据模型", description = "编辑角色时传递的数据模型")
@Data
public class RoleEditDTO {

    @Schema(description = "角色id", requiredMode = Schema.RequiredMode.REQUIRED, example = "121")
    private Long id;

    @Schema(description = "角色名", requiredMode = Schema.RequiredMode.REQUIRED, example = "超级管理员")
    private String name;

    @Schema(description = "介绍", requiredMode = Schema.RequiredMode.REQUIRED, example = "管理商品信息、添加/编辑商品、设置商品分类和标签、管理库存")
    private String desc;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer status;
}
